package D:/workspace-easyjava/easyjava-demo/src/main/java/com/easyjava/enums;

public enum DataTimePatternEnum {
    YYYY_MM_DD_HH_MM_SS("yyyy-MM-dd HH:mm:ss"),YYYY_MM_DD("yyyy-MM-dd");

    private String pattern;

    DataTimePatternEnum(String pattern){
        this.pattern = pattern;
    }

    public String getPattern(){
        return pattern;
    }
}
